<link type="text/css" rel="stylesheet" href="css/services.css"/>
<div class="container">
		<h1>Tiếp nhận khách hàng</h1>
<style type="text/css">
	#button_cancel{
		background-color: #DDDDDD;
		border: medium none;
		cursor: pointer;
		float: left;
		margin-top: 14px;
	}
</style>
<?php     

echo form_open(current_url()); ?>
		<div id = "top_reserve">
			<div id = "content-right" class="action">
			
			<div >
			<p>
                            <input type="input" id="button_submit" name="button_submit" value="Lưu" class="imageButtonSmall"/>
        <?php //echo form_submit( 'submit', 'Save'); ?>
		<?php 
		$data = array(
			'name' => 'button_cancel',
			'id' => 'button_cancel',
			'value' => 'true',
			'type' => 'button',
			'content' => 'Hủy',
			'onclick'=>"history.go(-1);return false;"
		);

		echo form_button($data);
		?>
</p></div> <!-- end opt_box -->
			</div> <!-- end add_new -->
		</div> <!-- end top_reserve -->
<div style="width:500px;margin:0 auto;">
<?php  echo $custom_error; ?>
<?php 
	$Cust_ID=set_value('Cust_ID');
	if(!$Cust_ID) $Cust_ID=$temp_id;
?> 
 <input id="Cust_ID" type="hidden" name="Cust_ID" value="<?php echo $Cust_ID; ?>"  />
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="F_Name">Họ<span class="required"><font color="red">*</font></span></label>                                
                <input id="F_Name" type="text" name="F_Name" value="<?php echo set_value('F_Name'); ?>"  />
                <?php echo form_error('F_Name','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="L_Name">Tên<span class="required"><font color="red">*</font></span></label>                                
                <input id="L_Name" type="text" name="L_Name" value="<?php echo set_value('L_Name'); ?>"  />
                <?php echo form_error('L_Name','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="DOB">Ngày sinh</label>                                
                <input id="DOB" type="text" name="DOB" value="<?php echo set_value('DOB'); ?>"  />
                <?php echo form_error('DOB','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Email_Addr">Email</label>                                
                <input id="Email_Addr" type="text" name="Email_Addr" value="<?php echo set_value('Email_Addr'); ?>"  />
                <?php echo form_error('Email_Addr','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Phone_NO">Số đt</label>                                
                <input id="Phone_NO" type="text" name="Phone_NO" value="<?php echo set_value('Phone_NO'); ?>"  />
                <?php echo form_error('Phone_NO','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Street">Địa chỉ</label>                                
                <input id="Street" type="text" name="Street" value="<?php echo set_value('Street'); ?>"  />
                <?php echo form_error('Street','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="District_City">Quận</label>                                
                <input id="District_City" type="text" name="District_City" value="<?php echo set_value('District_City'); ?>"  />
                <?php echo form_error('District_City','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Membership_Type">Loại khách hàng</label>                                
                <input id="Membership_Type" type="text" name="Membership_Type" value="<?php echo set_value('Membership_Type'); ?>"  />
                <?php echo form_error('Membership_Type','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Email_Addr">Ghi chú</label>   
				<textarea cols="50" rows="8" id="Notes" name="Notes"><?php echo set_value('Notes'); ?></textarea>                
                <?php echo form_error('Notes','<div>','</div>'); ?>
                </p></span>
</div>
<?php echo form_close(); ?>
		</div>